package ooday01;
/** 结构方法 */
public class ConsDemo {
    public static void main(String[] args) {
        /*
        Car bsj = new Car();
        Car lbjn = new Car("兰博基尼","蓝色",1200000.0);

        bsj.start();
        lbjn.start();
        bsj.run();
        lbjn.run();
        bsj.stop();
        lbjn.stop();
        lbjn.stop1("保时捷","兰博基尼");

         */

        Student zs = new Student();
        Student lw = new Student("隔壁老王",14);
        Student ll = new Student("老六",16,"jsd2302","001");

        zs.study();
        lw.study();
        ll.study();
        zs.sayHi();
        lw.sayHi();
        ll.sayHi();
        zs.playWith("老六");
        lw.playWith("老六");
        ll.playWith("隔壁老王");
    }
}
